< previous page page_537 next page >

Page 537
Stored queries run faster than those that are handled by parsing the statement from code.
Moving your application up to a client/server environment is easier.
sarrow.gifSee "Defining SQL," p. 794
Implementing Your Design
The first step in implementing the database design is to create the database itself. One consideration, of course, is the type of database to be used. Visual Basic's native database environment is the Microsoft Jet database engine. Jet databases are commonly known as Access databases, as Microsoft Access also uses the Jet database engine. You can choose from three main methods of creating an Access database for use with Visual Basic. You can use any of the following:
Programmatically, using Visual Basic's Data Access Objects (DAO)
Using the Visual Data Manager application provided with Visual Basic
Using Microsoft Access itself
Using other third-party database management programs
Creating a database programmatically using Data Access Objects gives your program complete control over how the database is created and structured. This topic is discussed in detail in Chapter 26, "Using Data Access Objects (DAO)."
The other methods of creating a Jet database are explained in the following list and discussed in the subsequent sections:
Visual Data Manager. Using this Visual Basic add-in, you can create databases, as well as create, modify, and delete tables, indexes, and relations within a database.
Microsoft Access. This tool is probably the most widely used to create Jet databases. It provides the added advantage of enabling you to create queries and relations using a visual drag-and-drop interface.
Third-party programs. Many other programs, both commercial and shareware, are available to manage Jet and other types of databases. Some are highly specialized, whereas others are general-purpose utilities much like Visual Data Manager.
Using Visual Data Manager
The Visual Data Manager application that comes with Visual Basic provides you with an interactive way of creating and modifying databases. You can run this application by selecting the Visual Data Manager item from Visual Basic's Add-Ins menu.
note.gif Visual Data Manager can work with Access (Jet), dBASE, FoxPro, Paradox, and ODBC databases, as well as text files. Typically, in Visual Basic applications, you use it to manipulate Access databases. square.gif

 
< previous page page_537 next page >